From 006d465c265246fa84e7926f2f0d3fe0ac19b2e2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 16 Dec 2023 13:41:42 +0000 Subject: Make strings GC objects --- ...ngs(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 4 ++-- ...ata(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index e834a6f5..d8ea95b2 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:canHaveMultipleStrings(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -1,7 +1,7 @@ Compilation unit elements: -(data-immutable "shed__string__0" (struct ((int 5) (array byte ((byte 0x68) (byte 0x65) (byte 0x6c) (byte 0x6c) (byte 0x6f)))))) -(data-immutable "shed__string__1" (struct ((int 5) (array byte ((byte 0x77) (byte 0x6f) (byte 0x72) (byte 0x6c) (byte 0x64)))))) +(data-immutable "shed__string__0" (struct ((int 0) (struct ((int 5) (array byte ((byte 0x68) (byte 0x65) (byte 0x6c) (byte 0x6c) (byte 0x6f)))))))) +(data-immutable "shed__string__1" (struct ((int 0) (struct ((int 5) (array byte ((byte 0x77) (byte 0x6f) (byte 0x72) (byte 0x6c) (byte 0x64)))))))) Locals: * (val "string__0" int) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 21ca0baf..04540bea 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -1,6 +1,6 @@ Compilation unit elements: -(data-immutable "shed__string__0" (struct ((int 5) (array byte ((byte 0x68) (byte 0x65) (byte 0x6c) (byte 0x6c) (byte 0x6f)))))) +(data-immutable "shed__string__0" (struct ((int 0) (struct ((int 5) (array byte ((byte 0x68) (byte 0x65) (byte 0x6c) (byte 0x6c) (byte 0x6f)))))))) Locals: * (val "string__0" int) -- cgit v1.2.3